<template>
	<view class="item clickC" @click="clickDetail">
		<view class="item-main">
			<view class="pic">
				<image src="../../../static/images/pic.png" mode=""></image>
			</view>
			<view class="title line2">
				商品标题对方撒地方稍等发撒地方收费多少发生大的是
			</view>
			<view class="liulan">
				浏览（234）
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			
		}
	},
	mounted() {
		
	},
	methods: {
		clickDetail() {
			uni.navigateTo({
				url:'/pages/goods/detail'
			})
		}
	}
}
</script>

<style lang="scss" scoped>
.item{
	margin: 30rpx;
	margin-bottom: 0;
	background-color: #fff;
	overflow: hidden;
	width: 330rpx;
	float: left;
	border-radius: 31.5rpx;
	&:active{
		opacity: 0.7;
	}
	.pic{
		width: 330rpx;
		height: 330rpx;
	}
	.title{
		margin: 30rpx 12rpx;
		margin-bottom: 20rpx;
	}
	.liulan{
		margin: 0 12rpx;
		margin-bottom: 20rpx;
		color: #999;
		font-size: 26rpx;
	}
}
.item:nth-child(odd){
	margin-right: 0;
}
</style>
